﻿find_package(TBB REQUIRED)
find_package(OpenSSL REQUIRED)
# 添加可执行文件
add_executable(normal normal.cpp)

target_link_libraries(normal PRIVATE TBB::tbb OpenSSL::SSL OpenSSL::Crypto)

set_target_properties(normal PROPERTIES DEBUG_POSTFIX "_d")
set_target_properties(normal PROPERTIES RELEASE_POSTFIX "_r")


add_executable(abnormal abnormal.cpp)

target_link_libraries(abnormal PRIVATE TBB::tbb OpenSSL::SSL OpenSSL::Crypto)

set_target_properties(abnormal PROPERTIES DEBUG_POSTFIX "_d")
set_target_properties(abnormal PROPERTIES RELEASE_POSTFIX "_r")


add_executable(inter_process inter_process.cpp)
target_link_libraries(inter_process PRIVATE TBB::tbb OpenSSL::SSL OpenSSL::Crypto)

add_executable(inter_process2 inter_process2.cpp)
target_link_libraries(inter_process2 PRIVATE TBB::tbb OpenSSL::SSL OpenSSL::Crypto)

